package com.ydd.entity.profile;/**
 * TODO
 *
 * @Description
 * @Author Administrator
 * @Date 2023/4/29 19:30
 **/

import com.ydd.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description TODO
 * @Author Shadow
 * @Date 2023-04-29 19:30
 */

public class UserInfo implements Serializable {

    private static final long serialVersionUID = 530510651233762825L;
    /**
     * 编号
     */
    private String id;
    /**
     * 登录名
     */
    private String loginName;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 电话
     */
    private String phone;
    /**
     * 最后登陆IP
     */
    private String loginIp;
    /**
     * 最后登陆时间
     */
    private Date loginDate;
    /**
     * 创建时间
     */
    private Date createDate;
    /**
     * 更新时间
     */
    private Date updateDate;
    /**
     * 删除标记
     */
    private String delFlag;
    /**
     * 角色ID
     */
    private List<String> roleId;
    /**
     * 状态 1 正常  0 冻结
     */
    private Integer status;
    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    private String defaultData;

    @ApiModelProperty("角色名称")
    private List<String> rolename;

    public UserInfo() {
    }

    public UserInfo(long serialVersionUID, String id, String loginName, String password, String name, String email, String phone, String loginIp, Date loginDate, Date createDate, Date updateDate, String delFlag, List<String> roleId, Integer status, String defaultData, List<String> rolename) {
        this.id = id;
        this.loginName = loginName;
        this.password = password;
        this.name = name;
        this.email = email;
        this.phone = phone;
        this.loginIp = loginIp;
        this.loginDate = loginDate;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.delFlag = delFlag;
        this.roleId = roleId;
        this.status = status;
        this.defaultData = defaultData;
        this.rolename = rolename;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return loginName
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * 设置
     * @param loginName
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return loginIp
     */
    public String getLoginIp() {
        return loginIp;
    }

    /**
     * 设置
     * @param loginIp
     */
    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    /**
     * 获取
     * @return loginDate
     */
    public Date getLoginDate() {
        return loginDate;
    }

    /**
     * 设置
     * @param loginDate
     */
    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    /**
     * 获取
     * @return createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * 设置
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取
     * @return updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * 设置
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * 获取
     * @return delFlag
     */
    public String getDelFlag() {
        return delFlag;
    }

    /**
     * 设置
     * @param delFlag
     */
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取
     *
     * @return roleId
     */
    public List<String> getRoleId() {
        return roleId;
    }

    /**
     * 设置
     * @param roleId
     */
    public void setRoleId(List<String> roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取
     * @return defaultData
     */
    public String getDefaultData() {
        return defaultData;
    }

    /**
     * 设置
     * @param defaultData
     */
    public void setDefaultData(String defaultData) {
        this.defaultData = defaultData;
    }

    /**
     * 获取
     * @return rolename
     */
    public List<String> getRolename() {
        return rolename;
    }

    /**
     * 设置
     * @param rolename
     */
    public void setRolename(List<String> rolename) {
        this.rolename = rolename;
    }

    public String toString() {
        return "UserInfo{serialVersionUID = " + serialVersionUID + ", id = " + id + ", loginName = " + loginName + ", password = " + password + ", name = " + name + ", email = " + email + ", phone = " + phone + ", loginIp = " + loginIp + ", loginDate = " + loginDate + ", createDate = " + createDate + ", updateDate = " + updateDate + ", delFlag = " + delFlag + ", roleId = " + roleId + ", status = " + status + ", defaultData = " + defaultData + ", rolename = " + rolename + "}";
    }
}
